package io.github.wslxm.springbootplus2.manage.sys.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.github.wslxm.springbootplus2.core.base.model.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

/**
 * banner表
 * <p>
 *  ::本代码由[兮家小二]提供的代码生成器生成,如有问题,请手动修改 ::作者CSDN:https://blog.csdn.net/qq_41463655 
 * </p>
 * @author  wangsong
 * @email  1720696548@qq.com
 * @date  2020-08-23 23:14:01
 */
@Data
@ToString(callSuper = true)
@TableName("t_sys_banner")
@Schema(name = "SysBanner 对象", description = "banner表")
public class SysBanner extends BaseEntity {

    private static final long serialVersionUID = 0L;

    @Schema(title = "banner位置(字典code) " )
    @TableField(value = "position")
    private Integer position;

    @Schema(title = "banner标题" )
    @TableField(value = "`name`")
    private String name;

    @Schema(title = "banner描叙" )
    @TableField(value = "`desc`")
    private String desc;

    @Schema(title = "banner图片" )
    @TableField(value = "img_url")
    private String imgUrl;

    @Schema(title = "banner排序" )
    @TableField(value = "`sort`")
    private Integer sort;

    @Schema(title = "banner禁用(0-启用 1-禁用)" )
    @TableField(value = "`disable`")
    private Integer disable;

    @Schema(title = "是否跳转(0-无  1-内部链接 2-外部链接)" )
    @TableField(value = "is_skip")
    private Integer isSkip;

    @Schema(title = "跳转地址url(地址直接添加或字典表配置)" )
    @TableField(value = "skip_url")
    private String skipUrl;

    @Schema(title = "扩展字段1")
    private String ext1;

    @Schema(title = "扩展字段2")
    private String ext2;

    @Schema(title = "扩展字段3")
    private String ext3;

}

